package com.imooc.repository;

import com.imooc.domain.Boy;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by chenxin on 2017/4/30.
 */
public interface BoyRepository extends JpaRepository<Boy, Integer> {
    public List<Boy> findBoyByAge(Integer age);
}
